a = [[1,2,3],[4,5,6],[7,8,9]]

print("原二维列表：")
for i in a:
    print(i)
print("\n")

n = list(zip(*a))
n = [list(i) for i in n]

print("转置后的二维列表：")
for i in n:
    print(i)



